//#include <cv.h>
//#include <highgui.h>
//#include <cstdlib>
//#include <iostream.h>
#include <cxcore.h>
#include <cv.h>
#include <highgui.h>
#include "kes.h"
int main()
{
    Kes k;
    IplImage* lc;
    lc = cvLoadImage("resim27.jpg",1);
    IplImage* mo = cvCreateImage(cvSize(lc->width,lc->height), IPL_DEPTH_8U, 1);
    IplImage* gr = cvCreateImage(cvSize(lc->width,lc->height), IPL_DEPTH_8U, 1);
    lc=k.Lmain(lc);
    mo=k.Mmain(lc);
    gr=k.Smain(lc);
    k.Kmain(lc,gr,mo);

    cvReleaseImage( &lc );
    cvReleaseImage( &gr );
    cvReleaseImage( &mo );
    return EXIT_SUCCESS;
}
